package com.websuites.webservice;

import java.util.Collection;

import com.websuites.core.Constant;

@SuppressWarnings("unchecked")
public class WebServiceResult 
{
	private String sErrorCode = Constant.WS_ERROR_SUCCESS;
	private String sErrorMessage = "OK";

	private Collection result;
	
	public String getErrorCode()
	{
		return sErrorCode;
	}

	public void setErrorCode(String sErrorCode)
	{
		this.sErrorCode = sErrorCode;
	}

	public String getErrorMessage()
	{
		return sErrorMessage;
	}

	public void setErrorMessage(String sErrorMessage)
	{
		this.sErrorMessage = sErrorMessage;
	}

	public Collection getResult()
	{
		return this.result;
	}

	public void setResult(Collection result)
	{
		this.result = result;
	}

}
